<?php

return [
    'sms'=>[
        'url'           => 'http://apis.eolinker.com/communication/sms/send',
        'key'           => 'kBYbJAs6f0dbc1b197f303d8f22a5449b0881606439ca6e',
        'time'          => 120,  //两次申请间隔时间,单位秒
        'validity'      => 5,   //有效期，单位分钟
        'templateID'    => 10074,
        'yun_pian'     =>[
            'url'       =>'https://sms.yunpian.com/v2/sms/single_send.json',
            'key'       =>'c8d7a5cff53fda51ca53bac5797ece37',
            'templateID'   => 1909618,
            'callback_url'   => 'http://admin.aitourer.com/admin/sms/',
        ]
    ],
    'user'=>[
        //默认用户昵称
        'name'  =>   'zmsc_'.uniqid()
    ],
    'youZan'=>[
        'login'  =>[
        'url'           =>'https://uic.youzan.com/sso/open/login',
        'client_id'     =>'8584ad125eac756511',
        'client_secret' =>'0de5fe4d85d9708b02530160b36a0bd0'
        ],
        'logout' =>[
            'url'           =>'https://uic.youzan.com/sso/open/logout',
            'client_id'     =>'8584ad125eac756511',
            'client_secret' =>'0de5fe4d85d9708b02530160b36a0bd0'
        ],
        'public' =>[
            'url'           =>'https://uic.youzan.com/sso/open/initToken',
            'client_id'     =>'8584ad125eac756511',
            'client_secret' =>'0de5fe4d85d9708b02530160b36a0bd0'
        ],
        'client_id'     => '8584ad125eac756511',
        'client_secret' => '0de5fe4d85d9708b02530160b36a0bd0',
        'client_type'   => 'self',
        'client_kdt_id' => '18993339',
        'coupon' =>[
            'consume' => 'youzan.ump.coupon.consume.fetchlogs.get',
            'take'    => 'youzan.ump.coupon.take',
            'user'    => 'youzan.user.basic.get',
        ]
    ],
    'api_url'      =>'http://api.aitourer.com/',
    'article_url'  =>'http://admin.aitourer.com/content/' ,
    'shop_address' =>'https://kdt.im/oLEiWr' ,
    'avatar_size'       => 2*1024*1024,
];